<template>
	<view class="content"><web-view style="height: 600rpx;" src="http://www.tongyongjiakao.com/yszc.html"></web-view></view>
</template>

<script>
	//接口
	import {
		siteurl,
		privacy_api
	} from '@/api/index';
	export default {
		data() {
			return {
				url: '../../hybrid/html/privacy.html'
			};
		},
		onShow() {
			var that = this;
			// #ifdef MP-WEIXIN
			that.url = siteurl + '/privacy.html';
			// #endif
			//#ifdef APP-PLUS
			that.url = '../../hybrid/html/privacy.html';
			// #endif
		},
		onLoad() {
			var that = this;
			// #ifdef MP-WEIXIN
			that.url = siteurl + '/privacy.html';
			// #endif
			//#ifdef APP-PLUS
			that.url = '../../hybrid/html/privacy.html';
			// #endif
			// this.getData()
		},
		methods: {
			getData() {
				console.log("xieyixieyi33333333333333333333")
				
				
				this.https({
					url: privacy_api,
					method: 'POST',
					header: {
						'content-type': 'application/json'
					},
					data: {

					},
					success: res => {

						console.log("协议成功",)


					},
					fail: err => {
						console.log("协议失败");
					}
				});
				
				
				
			}
		}
	};
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>